/*
 * Created by: Vadik Vaksin
 * Created: Sunday, February 26, 2006
 */

using System.Collections.Generic;
using fit;

namespace TestUtils.Tests
{
	public class ContextFixture : ColumnFixture
	{
		public string ContextKey;
		public string DefinitionKey;
		
		public string ValuesCount()
		{
			return ContextManager.TestContext.FixedDefinitions[ContextKey][DefinitionKey].Count.ToString();
		}
		
		public string Values()
		{
			string result = "";
			string sep = "";
			IList<string> values = ContextManager.TestContext.FixedDefinitions[ContextKey][DefinitionKey];
			foreach (string value in values)
			{
				result += sep + value;
				sep = ",";
			}
			return result;
		}
		
	}
}